package wymiana.enumeration;

import java.util.ArrayList;
import java.util.List;

public enum FileType {

	PDF_DOC("Pdf/doc"), PHOTO("Zdjecie/skan"), Archiwum("Archiwum rar/zip");

	private final String type;

	FileType(String type) {
		this.type = type;
	}

	public String getType() {
		return type;
	}

	public static List<FileType> getList() {
		List<FileType> s = new ArrayList<FileType>();
		for (int i = 0; i < values().length; i++) {
			if (i == 0)
				continue;
			s.add(values()[i]);
		}
		return s;
	}

}
